package classes {
	import flash.display.Loader;

	/**
	 * ...
	 * @author fox
	 */
	public class GameSetting {

		public static const stageWidth:Number = 640; //场景宽度
		public static const stageHeight:Number = 480; //场景高度
		public static const OFFSETX:Number = 90; //X轴的偏移量
		public static const OFFSETY:Number = 80; //Y轴的偏移量
		public static const saveSoData:String = "rockman_loginInfo"; //共享对象文件名
		public static const rockmanFlag:String = "drae.mttang.com"; //共享对象存在与否标志
		public static const angle:Number = 105; //发射器的角度
		//public static const height:Number = 4; 							//显示岩石的层数
		//public static const hspace:Number = 6; 							//隐藏岩石的层数
		//public static const width:Number = 9; 							//每行岩石的最大个数
		//初始化数据
		public static const initMoney:Number = 500;						//初始化金钱
		public static const initLevel:Number = 0;							//初始化人物等级
		public static const initExp:Number = 0;								//初始化人物经验
		public static const initPetLevel:Number = 0;						//初始化宠物级别
		public static const initPetStatus:Number = 1;						//初始化参战状态
		
		public static const bonusMoney:Number = 250;						//金钱奖励在250-300之间
		public static const moneyGaps:Number = 50;							//金钱奖励浮动值
		public static const price1:Number = 500;							//普通兽的蛋的价格
		public static const price2:Number = 5000;							//圣兽蛋的价格
		public static const price3:Number = 50000;							//神兽蛋的价格
		
		public static const petHighestLevel:Number = 26; //宠物最高等级
		//宠物升级消耗的金钱
		public static const petLevelExp:Array = [133, 300, 466, 700, 933, 1200, 1500, 1800, 2166, 
												 2533, 2933, 3366, 3800, 4300, 4800, 5333, 5900, 6466,
												 7100, 7733, 8400, 9100, 9813, 10566, 11333, 12133,14500,16700
												];
		//过关的岩石数目										
		public static const manExpArr:Array = [58, 80, 102, 124, 146, 213, 244, 275, 306, 337, 458,
											   498, 538, 578, 618, 793, 842, 891, 940, 989, 1218, 1276,
											   1334, 1392, 1450, 1733, 1800, 1867, 1934, 2001, 2338, 2414, 
											   2490, 2566, 2642, 3033, 3118, 3203, 3288, 3373, 3818, 3912, 
											   4006, 4100, 4194, 4693, 4796, 4899, 5002, 5105, 5658, 5770,
											   5882, 5994, 6106, 6713, 6834, 6955, 7076, 7197
											  ];
		//6大系别宠物的类型
		//public static const PETNAME:Array = ["Ice", "Fire", "Water", "Thunder", "Wind", "Physics"];
		public static const PETNAME:Array = ["Ice", "Ice"];
		
		public static var index:uint = 0; //档案id		
		public static var stoneSpeed:Number = 25; //岩石的速度
		public static var typeNum:Number = 4; //可根据泡泡种类定义难度
		public static var storeRsc:Loader; //商店资源loader
		public static var audioRsc:Loader; //音效资源的loader
		public static var uiRsc:Loader; //UI资源的loader
		public static var petRsc:Loader; //宠物资源loader

	/********************************************************************************/
	}
}